package com.general.template.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Author: 杰哥
 * Date: 2021/2/16 18:36
 * @Description:
**/

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "power_measurement_type")
public class PowerMeasurementType implements Serializable {
    /**
     * 主键唯一id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 测量类型名称
     */
    @TableField(value = "measurement_type")
    private String measurementType;

    /**
     * 是否禁用 0否 1是
     */
    @TableField(value = "status")
    private Integer status;

    private static final long serialVersionUID = 1L;

    public static final String COL_ID = "id";

    public static final String COL_MEASUREMENT_TYPE = "measurement_type";

    public static final String COL_STATUS = "status";
}